﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head>
<meta http-equiv="Content-Language" content="zh-cn" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ezj.ext.palette - ezj</title>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>

<body>

<div class="section">
  <h1>ezj.ext.palette</h1>
  
  <div class="block">
    <h3>HTML 代码</h3>
    <textarea class="code xhtml">
    <div>请点击文本框：<input type="text" id="color1" size="16"></div>
    <div>　请点击按钮：<input type="text" id="color2" size="16" value="#009999"><input type="button" id="color2Btn" value="..."></div>
    </textarea>
    
    <h3>JavaScript 代码（ezj 代码）</h3>
    <textarea class="code javascript">
    ezj.ext.palette("color1");
    ezj.ext.palette("color2", "color2Btn", ["value", "color"]);
    </textarea>
  </div>
  
  <div class="block">
    <h3>演示</h3>
    <div>请点击文本框：<input type="text" id="color1" size="16"></div>
    <div>　请点击按钮：<input type="text" id="color2" size="16" value="#009999"><input type="button" id="color2Btn" value="..."></div>
  </div>
  
  <div class="block footer">
  版权所有 &copy; 2008 - 2010 <a href="http://www.getezj.com/" target="_blank">www.getezj.com</a>
  </div>
</div>

<script type="text/javascript" src="../ezj.js"></script>
<script type="text/javascript">
<!--
$(window).ready(function(){
    ezj.ext.palette("color1");
    ezj.ext.palette("color2", "color2Btn", ["value", "color"]);
    
    ezj.ext.codelighter(".code");
});
//-->
</script>

</body>

</html>